package org.tinygroup.trans.xstream;

import org.tinygroup.xstream.XStreamFactory;

import com.thoughtworks.xstream.XStream;

public class XStreamTransFactory {
	private XStreamConvertService xStreamConvertService;

	public XStream getXStreamByScene(String scene) {
		return XStreamFactory.getXStream(xStreamConvertService
				.getXStreamPackageName(scene));
	}

	public XStreamConvertService getxStreamConvertService() {
		return xStreamConvertService;
	}

	public void setxStreamConvertService(
			XStreamConvertService xStreamConvertService) {
		this.xStreamConvertService = xStreamConvertService;
	}

}
